<!doctype html>
<html>
<head>
    <title>mysea  DEMO</title>
    <meta charset="utf-8">
    <style>

        .left {
            width: 20%;
            float:left;
        }
        .content {
            width: 79%;
            float:left;
        }

    </style>
</head>
<script >
    var basePath = "${rc.contextPath}";

</script>
<body>

<h1>使用sea+handlebars整合后的例子</h1>
<div>
    <div class="left">左侧树</div>
    <div class="content">中间内容</div>
</div>
<hr/>
<h1 style="margin-top: 100px;">参考使用如下技术：</h1>

  <ol>
      <li>seajs</li>
      <li>seajs-css</li>
      <li>seajs-text</li>
      <li>seajs-style</li>
      <li>seajs-combo</li>
      <li>seajs-flush</li>
      <li>seajs-debug</li>
      <li>seajs-log</li>
      <li>seajs-health</li>
      <li><b>artTemplate</b></li>
      <li><b>handlebars</b></li>



  </ol>
<h1>参考资料</h1>
<ol>
    <li><a href="http://seajs.org/docs/#docs">seaJS DOC</a> </li>
    <li><a href="http://www.runoob.com/jqueryui/api-jQuery-widget.html">jQuery widget 一</a> </li>
    <li><a href="http://learn.jquery.com/plugins/stateful-plugins-with-widget-factory/">jQuery widget 二</a> </li>

    <li><a href="https://github.com/aui/artTemplate#%E4%BD%BF%E7%94%A8%E9%A2%84%E7%BC%96%E8%AF%91">artTemplate</a> </li>
    <li><a href="http://handlebarsjs.com/">handlebars</a> </li>
    <li><a href="https://github.com/wycats/handlebars.js">handlebars github</a> </li>

</ol>


</body>
<script src="${rc.contextPath}/resources/seajs/sea-modules/seajs/seajs/2.2.0/sea.js"></script>
<script src="${rc.contextPath}/resources/seajs/sea-modules/seajs/seajs-text.js"></script>
<script src="${rc.contextPath}/resources/seajs/sea-modules/seajs/seajs-log.js"></script>
<script src="${rc.contextPath}/resources/seajs/static/mysea/mysea-config.js"></script>


<script>
    //crm
    seajs.use("${rc.contextPath}/resources/seajs/static/mysea/mysea-main");
    var a = {value:11}
    var msg = "seatest进行中";
    seajs.log('订单流程', 'group'); // 调用 console.group
    seajs.log('a 的值是 ' + a.value); // 调用 console.log
    seajs.log('发现错误 ' + msg, 'warn'); // 调用 console.warn
    seajs.log('订单流程', 'groupEnd'); // 调用 console.groupEnd
</script>
</html>